package com.video.video.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播广告对象 d_banner
 *
 * @author ruoyi
 * @date 2022-09-29
 */
public class DBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String bannerTitle;

    /** 副标题 */
    @Excel(name = "副标题")
    private String subtitle;

    /** 启用状态 1:启用 2禁用 */
    @Excel(name = "启用状态 1:启用 2禁用")
    private String status;

    /** 轮播图片地址 */
    @Excel(name = "轮播图片地址")
    private String imgUrl;

    /**  跳转类型 0：跳转内部小程序 1：跳转其他小程序 2:跳转外部链家 */
    @Excel(name = " 跳转类型 0：跳转内部小程序 1：跳转其他小程序 2:跳转外部链家")
    private String type;

    /** 跳转外部小程序id */
    private String appid;

    /** 跳转路径 */
    private String jumpUrl;

    /** 优先级 */
    @Excel(name = "优先级")
    private Integer sort;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setBannerTitle(String bannerTitle)
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle()
    {
        return bannerTitle;
    }
    public void setSubtitle(String subtitle)
    {
        this.subtitle = subtitle;
    }

    public String getSubtitle()
    {
        return subtitle;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setAppid(String appid)
    {
        this.appid = appid;
    }

    public String getAppid()
    {
        return appid;
    }
    public void setJumpUrl(String jumpUrl)
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl()
    {
        return jumpUrl;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerTitle", getBannerTitle())
            .append("subtitle", getSubtitle())
            .append("status", getStatus())
            .append("imgUrl", getImgUrl())
            .append("type", getType())
            .append("appid", getAppid())
            .append("jumpUrl", getJumpUrl())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
